package com.zhiwang.planet.di.component

import com.zhiwang.planet.di.ActivityScope
import com.zhiwang.planet.di.module.AccountModule
import com.zhiwang.planet.di.module.AutoDisposeModule
import com.zhiwang.planet.ui.main.FriendFragment
import com.zhiwang.planet.ui.my.ActivityFragment
import com.zhiwang.planet.ui.my.WithdrawActivity
import com.zhiwang.planet.ui.my.message.FeedBackListFragment
import com.zhiwang.planet.ui.my.message.SystemNotificationFragment
import com.zhiwang.planet.ui.my.record.DiamondFragment
import com.zhiwang.planet.ui.my.record.EnergyFragment
import com.zhiwang.planet.ui.my.withdraw.AliWithdrawFragment
import dagger.Component

@ActivityScope
@Component(dependencies = [AppComponent::class], modules = [AccountModule::class, AutoDisposeModule::class])
open interface AccountComponent {


    fun inject(activity: AliWithdrawFragment)
    fun inject(activity: WithdrawActivity)
    fun inject(fragment: DiamondFragment)
    fun inject(energyFragment: EnergyFragment)
    fun inject(friendFragment: FriendFragment)
    fun inject(fragment: ActivityFragment)
    fun inject(fragment: SystemNotificationFragment)
    fun inject(fragment: FeedBackListFragment)
}